﻿<?php
 
class myclass
   {
      public function  abc($x,$y)
	   {
	      return  $x+$y;
		}
	}
class mysubclass extends myclass
     {
	    function cde($x)
		{
		return $x+10;
       }
	 
	 }

$mysubclass = new mysubclass;
echo $mysubclass->abc(10,5)."<br>";
echo $mysubclass->cde(10);
 
?>